
using AutoMapper;
using JYJ.AiYard.StationManagement.TbSales;
using JYJ.AiYard.StationManagement.TbSales.Dtos;

namespace JYJ.AiYard.StationManagement.TbSales.Mapper
{

	/// <summary>
    /// 配置TbSale的AutoMapper
    /// </summary>
	internal static class TbSaleMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <TbSale,TbSaleListDto>();
            configuration.CreateMap <TbSaleListDto,TbSale>();

            configuration.CreateMap <TbSaleEditDto,TbSale>();
            configuration.CreateMap <TbSale,TbSaleEditDto>();

        }
	}
}
